import 'package:flutter/material.dart';
import 'package:flutter_advanced_avatar/flutter_advanced_avatar.dart';
import 'package:flutter_tech_shop/src/widgets/setting_view/setting_view.dart';

class SettingPage extends StatelessWidget {
  const SettingPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('设置中心'), centerTitle: true),
      body: Container(
          child: Column(
            children: [
              Expanded(child: SettingView(data: [
                SettingInfoModel(title: '官方客服', value: ''),
                SettingInfoModel(title: '主题切换', value: ''),
                SettingDividerModel(),
                SettingInfoModel(title: '语言切换', value: ''),
              ], itemOnTap: (item) {

              }))
            ],
          )),
    );
  }
}
